#ifndef _CAN_H_
#define _CAN_H_

#include "stm32f4xx.h"


void CAN1_Config(void);
void CAN2_Config(void);
void CAN_NVIC_Config(void);
void Can1WriteData(uint16_t ID,
                   uint8_t isextend,
                   uint8_t isdataframe,
                   uint8_t length,
                   uint8_t *txdata);
void Can2WriteData(uint16_t ID,
                   uint8_t isextend,
                   uint8_t isdataframe,
                   uint8_t length,
                   uint8_t *txdata);



#endif


